package com.oauth.components.client.ui.footer;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Widget;

public class FooterUI extends Composite {

	private static FooterUiBinder uiBinder = GWT.create(FooterUiBinder.class);

	interface FooterUiBinder extends UiBinder<Widget, FooterUI> {
	}

	private static final FooterConstant constants = (FooterConstant) GWT
			.create(FooterConstant.class);

	@UiField
	Label copyrightLabel;

	@UiField
	HorizontalPanel footerLinksSubPanel;

	public FooterUI() {
		initWidget(uiBinder.createAndBindUi(this));
		copyrightLabel.setText(constants.copyrightText());
	}

}
